package com.song.mscloud.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author TonySong
 * @date 2024/5/7 0007
 * @time 15:29
 */
@RestController
public class RoomConroller {

    @Value("${server.port}")
    private Integer port;

    @GetMapping("/list")
    public String getRooms(){
        return "端口号"+port+"---->的班级列表";
    }



}
